package com.tonghaibo.service;

import com.tonghaibo.po.Book;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author jitwxs
 * @date 2025年04月27日 21:45
 */
@Transactional
public interface BookService {
     List<Book> findAll();
     Book findById(Integer id);
     boolean inster(Book book);
     boolean delectById(Integer id);
}
